<html>
<body>
<div style='display:none;'><h1>OAuth Approval</h1>
    <p>Do you authorize 'imooc1' to access your protected resources?</p>
    <form id='confirmationForm' name='confirmationForm' action='/server/oauth/authorize' method='post'>
        <input name='user_oauth_approval' value='true' type='hidden'/ >
        <input type='hidden' name='_csrf' value='42e8fcc4-52c1-4625-9114-06e69fcf67da'/><label>
        <input name='authorize' value='Authorize' type='submit'/></label>
    </form>

    <form id='denialForm' name='denialForm' action='/server/oauth/authorize' method='post'><input
            name='user_oauth_approval' value='false' type='hidden'/>
        <input type='hidden' name='_csrf' value='42e8fcc4-52c1-4625-9114-06e69fcf67da'/><label><input
            name='deny' value='Deny' type='submit'/></label></form>
</div>
<script>document.getElementById('confirmationForm').submit()</script>
</body>
</html>